package types

import "news/pkg/models"

type AddSensitiveWordForm struct {
	baseForm
	Word  string `json:"word" form:"word"`
	Level string `json:"level" form:"level"`
	State string `json:"state" form:"state"`
}

type UpdateSensForm struct {
	baseForm
	Id    models.Id `uri:"id" swaggerignore:"true"`
	Word  string    `json:"word" form:"word"`
	Level string    `json:"level" form:"level"`
	State string    `json:"state" form:"state"`
}

type QuerySensWordForm struct {
	pageForm
	Q     string `json:"q" form:"q"`
	Level string `json:"level" form:"level"`
	State string `json:"state" form:"state"`
}

type DeleteSensForm struct {
	baseForm
	Ids []models.Id `json:"ids" form:"ids"`
}

type SensWordsResp struct {
	models.Sensitive
}
